//
//  TargetType.Extension.swift
//  JLDiaryApp
//
//  Created by Jiang Chencheng on 2024/9/25.
//

import Foundation
import Moya

protocol JLTargetType: TargetType {}

extension JLTargetType {
    
    var baseURL: URL { URL(string: "http://10.0.0.117:8080")! }
    
    var headers: [String : String]? {
        return ["Content-type": "application/json"]
    }
}
